import pandas as pd

# axis=1为去掉带有nan的列，inplace表示修改后是否自动更新到data_frame
data_frame.dropna(axis=0,inplace=True)
